package com.guodi.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @描述: 城市体检目录
 * @作者: 郑文彬
 * @日期: 2020/8/12 17:56
 **/
@ApiModel(value="指标目录表")
@Data
public class ApiCityMedical implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private String id;

    @ApiModelProperty(value = "目录/指标名称")
    private String name;

    @ApiModelProperty(value = "上级目录id")
    private String parentId;

    @ApiModelProperty(value = "指标id")
    private String indicatorsId;

    @ApiModelProperty(value = "指标单位")
    private String unit;

    @ApiModelProperty(value = "文件类型，1是目录，2是文件",hidden = true)
    private Integer type = 1;

    @ApiModelProperty(value = "一级指标的体检指数",hidden = true)
    private String value;

    @ApiModelProperty(value = "各城市的体检结果平均值",hidden = true)
    private String cityAvgValue;

    @ApiModelProperty(value = "今年和各城市排名",hidden = true)
    private Integer ranking1;

    @ApiModelProperty(value = "去年排名",hidden = true)
    private Integer ranking2;

    @ApiModelProperty(value = "各城市的体检结果值",hidden = true)
    @TableField(exist = false)
    private List<Map> cityListVal;

    @ApiModelProperty(value = "子目录",hidden = true)
    @TableField(exist = false)
    private List<ApiCityMedical> children;



}
